package fr.cie.blog.domainservice;


import java.util.List;

import fr.cie.blog.beans.Config;
import fr.cie.blog.modeldao.hib.ConfigDaoImplHib;

/**
 * @author Jee3
 * 
 */
public class ServiceConfigDao implements IServiceConfig {

	/**
	 * servConfigImpl.
	 */
	private final IServiceConfig servConfigImpl = new ConfigDaoImplHib();

	@Override
	public final int save(final Config config) {
		return servConfigImpl.save(config);
	}

	@Override
	public final int delete(final Config config) {
		return servConfigImpl.delete(config);
	}

	@Override
	public final List<Config> findAll() {
		return servConfigImpl.findAll();
	}

	@Override
	public final Config findById(final long pIdentifier) {
		return servConfigImpl.findById(pIdentifier);
	}

	@Override
	public final int update(final Config config) {
		return servConfigImpl.update(config);
	}

}